import request from '@/utils/request';

export function addSocialMemo(memo) {
    return request.post('/social/add', memo);
}

export function deleteSocialMemo(memoId) {
    return request.delete(`/social/delete/${memoId}`);
}

export function updateSocialMemo(memo) {
    return request.put('/social/update', memo);
}

export function getSocialMemosByUserId(userId) {
    return request.get(`/social/user/${userId}`);
}
